//
// function definition
//
#include <fundef.h>

void par_wrUI1(McAcpAxProcessParIDType *ParIDValue,UDINT *i,UINT ParID,USINT *Value	) {
	ParIDValue[*i].DataType = mcACPAX_PARTYPE_USINT;
	ParIDValue[*i].ParID = ParID;
	ParIDValue[*i].VariableAddress = (UDINT)Value;
	++(*i);
}
void par_wrUI2(McAcpAxProcessParIDType *ParIDValue,UDINT *i,UINT ParID,UINT *Value	) {
	ParIDValue[*i].DataType = mcACPAX_PARTYPE_UINT;
	ParIDValue[*i].ParID = ParID;
	ParIDValue[*i].VariableAddress = (UDINT)Value;
	++(*i);
}
void par_wrUI4(McAcpAxProcessParIDType *ParIDValue,UDINT *i,UINT ParID,UDINT *Value	) {
	ParIDValue[*i].DataType = mcACPAX_PARTYPE_UDINT;
	ParIDValue[*i].ParID = ParID;
	ParIDValue[*i].VariableAddress = (UDINT)Value;
	++(*i);
}
void par_wrI1(McAcpAxProcessParIDType *ParIDValue,UDINT *i,UINT ParID,SINT *Value	) {
	ParIDValue[*i].DataType = mcACPAX_PARTYPE_SINT;
	ParIDValue[*i].ParID = ParID;
	ParIDValue[*i].VariableAddress = (UDINT)Value;
	++(*i);
}
void par_wrI2(McAcpAxProcessParIDType *ParIDValue,UDINT *i,UINT ParID,INT *Value	) {
	ParIDValue[*i].DataType = mcACPAX_PARTYPE_INT;
	ParIDValue[*i].ParID = ParID;
	ParIDValue[*i].VariableAddress = (UDINT)Value;
	++(*i);
}
void par_wrI4(McAcpAxProcessParIDType *ParIDValue,UDINT *i,UINT ParID,DINT *Value	) {
	ParIDValue[*i].DataType = mcACPAX_PARTYPE_DINT;
	ParIDValue[*i].ParID = ParID;
	ParIDValue[*i].VariableAddress = (UDINT)Value;
	++(*i);
}
void par_wrR4(McAcpAxProcessParIDType *ParIDValue,UDINT *i,UINT ParID,REAL *Value	) {
	ParIDValue[*i].DataType = mcACPAX_PARTYPE_REAL;
	ParIDValue[*i].ParID = ParID;
	ParIDValue[*i].VariableAddress = (UDINT)Value;
	++(*i);
}


